import Vue from 'vue'
import App from './App'
import router from './router'

Vue.config.productionTip = false

//  引入全局初始化css样式
import 'assets/css/reset.css';
// 引入全局js样式解决 click 延迟
import Fastclick from 'fastclick';
Fastclick.attach(document.body);
// 引入字体图标
import 'assets/css/iconfont.css';
// 引入轮播图文件
import VueAwesomeSwiper from 'vue-awesome-swiper'
import 'swiper/css/swiper.css'
Vue.use(VueAwesomeSwiper)

// 配置axios
import axios from 'axios'
Vue.prototype.$http = axios;

// 引入vuex
import store from './store'


new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
